﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vit.Common.Models;

namespace Vit.Common.Providers
{
    public interface ILocalizeProvider : IProvider
    {
        string Localize(string resourceName, params object[] paras);
        string Localize(string area, string resourceName, params object[] paras);

        void SaveLocaleResource(string resourceName, string resourceLocaleValue, ILocale locale);
        void SaveLocaleResource(string area, string resourceName, string resourceLocaleValue, ILocale locale);

        ILocale GetLocaleByGeoIP();
    }
}
